package com.woniu.mall.service;

import com.alipay.api.AlipayApiException;
import com.alipay.api.response.AlipayTradeQueryResponse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.mall.DTO.MallStoreDTO;
import com.woniu.mall.VO.StoreDetailVO;
import com.woniu.mall.VO.StoreListVO;
import com.woniu.mall.pojo.MallStore;
import com.woniu.user.vo.UserLoginVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 坤
 * @since 2023-05-22
 */
public interface IMallStoreService extends IService<MallStore> {

    List<StoreListVO> listSearch(String title);

    StoreDetailVO showDetail(Integer sid);

    Boolean saveStore(MallStoreDTO mallStoreDTO, UserLoginVO userLoginVO);

    Boolean updateStore(MallStoreDTO mallStoreDTO, UserLoginVO userLoginVO);

    Boolean deleteStore(UserLoginVO userLoginVO);
}
